package org.edu.modules.growth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@TableName("ve_jscz_reseacher")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class VeJsczResearcher {

    /**主键id*/
    @ApiModelProperty(value = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "项目名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "项目编号")
    @TableField(value = "serial")
    private String serial;

    @ApiModelProperty(value = "项目合同号")
    @TableField(value = "termNum")
    private String termNum;

    @ApiModelProperty(value = "项目来源")
    @TableField(value = "source")
    private String source;

    @ApiModelProperty(value = "总经费")
    @TableField(value = "totalCost")
    private Double totalCost;

    @ApiModelProperty(value = "项目类型id")
    @TableField(value = "cateId")
    private Long cateId;

    @ApiModelProperty(value = "项目级别id")
    @TableField(value = "levelId")
    private Long levelId;

    @ApiModelProperty(value = "项目进度")
    @TableField(value = "prograss")
    private Integer prograss;

    @ApiModelProperty(value = "附件")
    @TableField(value = "fileId")
    private Long fileId;

    @ApiModelProperty(value = "责任人")
    @TableField(value = "chargeUid")
    private Long chargeUid;

    @ApiModelProperty(value = "开始时间")
    @TableField(value = "startTime")
    private Long startTime;

    @ApiModelProperty(value = "结束时间")
    @TableField(value = "endTime")
    private Long endTime;

    @ApiModelProperty(value = "终端")
    @TableField(value = "terminalId")
    private Long terminalId;

    @ApiModelProperty(value = "备注")
    @TableField(value = "remark")
    private String remark;

    @ApiModelProperty(value = "类型名称")
    @TableField(value = "cateName")
    private String cateName;

    @ApiModelProperty(value = "级别名称")
    @TableField(value = "levelName")
    private String levelName;

    @ApiModelProperty(value = "项目参与人")
    @TableField(value = "addPerson")
    private String addPerson;

    @ApiModelProperty(value = "是否为本地数据 0-不是 1-是")
    @TableField(value = "isLocal")
    private Integer isLocal;


}
